package org.jeecg.modules.demo.zc.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.zc.entity.Store;
import org.jeecg.modules.demo.zc.service.StoreService;
import org.jeecg.modules.demo.zc.mapper.StoreMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 16286
* @description 针对表【store】的数据库操作Service实现
* @createDate 2022-03-26 17:44:12
*/
@Service
public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store>
    implements StoreService{

    @Autowired
    StoreMapper storeMapper;

    @Override
    public List<Store> selectAll() {
        List<Store> storeList = storeMapper.selectAll();
        return storeList;
    }
}




